using System;
using System.Collections.Generic;
using System.Text;

namespace EBookReader.Library.Interface
{
    public static class ReaderFactory
    {
        public static WebReader CreateReader(string type)
        {
            switch (type.ToLower().Trim())
            {
                case "gzip":
                    return new GZipWebReader();
                case "none":
                default:
                    return new SimpleWebReader();
            }
        }
    }
}
